import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useLoader = defineStore('loader', () => {
 
    const flag = ref(false)
    const updataFlage = () => {
        flag.value = !flag.value
    }

    return {flag, updataFlage}
})